<!--{template /module/admin/view/head}-->
<div id="left_layout">
	<div id="main_content" class="container-fluid">
		<!--{template /module/admin/view/head_nav}-->
		<div class="row-fluid">
			<div class="span10">
			<div class="well widget">
				<div class="widget-header">
					<h3 class="title">“{$poll[TITLE]}”{lang poll.index_result.view.header}</h3>
				</div>
				<div class="widget-content">
					<div class="action-wrapper">
						<div class="pull-left">
							<a href="{$ADMIN_SCRIPT}/poll/_vote&id={$_var[gp_id]}&nextquery={$_var[gp_nextquery]}" class="btn btn-small">{lang poll.index_result.view.button.vote}</a>
						 	<a href="{$ADMIN_SCRIPT}/poll{$search[prevquery]}" class="btn btn-small">{lang poll.index_result.view.button.back}</a>
						 </div>
					</div>
					
					<hr>
					<table class="table table-hover">
						<thead>
							<tr>
								<td width="40">{lang poll.index_result.view.th.no}</td>
					            <td width="64">{lang poll.index_result.view.th.pic}</td>
					            <td>{lang poll.index_result.view.th.name}</td>
					            <td width="100">{lang poll.index_result.view.th.vote}</td>
					            <td width="160">{lang poll.index_result.view.th.percent}</td>
							</tr>
						</thead>
						<tbody>
							<!--{loop $poll_options $_loop $poll_option}-->
							<tr class="item-row">
					        	<td>
					                {echo $_loop + 1;}、
					            </td>
					            <td>
					            	<!--{if is_array($poll_option[FILE01])}-->
					            		<img src="{$poll_option[FILE01][0]}" width="60" style="width:60px;"/>
					            	<!--{else}-->
					            		<img src="static/images/blank.gif" width="60" style="width:60px; height:40px;"/>
					            	<!--{/if}-->
					            </td>
					            <td>
						            <p class="text-success thin">{$poll_option[TITLE]}</p>
									<p class="remark thin">{$poll_option[SUMMARY]}</p>
					            </td>
					            <td class="f12">
					            	{$poll_option[VOTECOUNT]}{lang poll.index_edit.view.limit.vote}<br/>
					            </td>
					            <td class="f12">
						            <div style="width:{$poll_option[PECENT]}; height:20px; background:#8CCC8C;"></div>
						            {$poll_option[PECENT]}
					            </td>
					        </tr>
							<!--{/loop}-->
						</tbody>
					</table>
				</div>
			</div>
		</div>
		</div>
	</div>
</div>
<!--{template /module/admin/view/foot}-->